package com.poxz.controller;

import com.poxz.common.response.Result;
import com.poxz.common.response.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author poxz
 * @description 控制层测试
 * @date 2025/10/15 15:14
 */
@RestController
@RequestMapping("/test")
public class TestController {
    /**
     * @description Hello成功响应
     * @return: Result<String>
     * @author poxz
     * @date: 2025/10/15 15:14
     */
    @GetMapping("/hello")
    public Result<String> hello() {
        return ResultUtils.success("Hello world!");
    }

}

